package com.vincent.dao;

import com.vincent.model.AdPosition;
import org.springframework.stereotype.Component;

import java.util.List;
@Component("adPositionMapper")
public interface AdPositionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AdPosition record);

    int insertSelective(AdPosition record);

    AdPosition selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AdPosition record);

    int updateByPrimaryKey(AdPosition record);

    /**
     * 获取所有广告位置
     * @return
     */
    List<AdPosition> selectAll();
}